<%@ page import="com.example.oa.Employee" %><%--
  Created by IntelliJ IDEA.
  User: 徐永岳
  Date: 2023/3/13
  Time: 21:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>employee detail page</title>
</head>
<body>
<h1>employee detail page</h1>
<%
  Employee employee = (Employee) session.getAttribute("employee");
  out.print(employee.getId());
  out.print("<br>");
  out.print(employee.getName());
  out.print("<br>");
  out.print(employee.getPassword());
  out.print("<br>");
  out.print(employee.getAge());
  out.print("<br>");
  out.print(employee.getGender());
  out.print("<br>");
  out.print(employee.getRole());
%>
</body>
</html>